//
//  SEExamineOrderHospitalCell.swift
//  SmartEyeForPatient
//
//  Created by qdsg on 2021/4/9.
//

import UIKit

class SEExamineOrderHospitalCell: UITableViewCell {

    static let className = "SEExamineOrderHospitalCell"
    static let reuseId = className

    @IBOutlet weak var nameLabel: UILabel!
    @IBOutlet weak var addressLabel: UILabel!

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    func updateCell(_ viewModel: SEExamineDetailViewModel) {
        nameLabel.text = viewModel.model.checkHosName
        addressLabel.text = viewModel.model.checkHosAddr
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
